package com.example.jinzproduct.server.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.baomidou.mybatisplus.plugins.Page;
import com.example.commons.entity.ExaminationAnswerSheetDO;
import com.example.jinzproduct.dao.ExaminationAnswerSheetDao;
import com.example.jinzproduct.server.ExaminationAnswerSheetService;
import org.springframework.stereotype.Service;

/**
 * 
 * <pre>
 * 考试答卷
 * </pre>
 * <small> 2020-02-24 21:00:12 | lance</small>
 */
@Service
public class ExaminationAnswerSheetServiceImpl extends ServiceImpl<ExaminationAnswerSheetDao, ExaminationAnswerSheetDO> implements ExaminationAnswerSheetService {

	@Override
	public Page<ExaminationAnswerSheetDO> findList(Long orgId , int current , int number) {

		Page<ExaminationAnswerSheetDO> page = new Page<ExaminationAnswerSheetDO>(current, number);
		return page.setRecords(this.baseMapper.findList(orgId));
	}
}
